#include "main.h"
#include "direction.h"

CDirection::CDirection()
{
	ver=false;
	niz=false;
	bok1=false;
	bok2=false;
	bok3=false;
	bok4=false;
}

CDirection::CDirection(bool P_v,
					   bool P_n,
					   bool P_b1,
					   bool P_b2,
					   bool P_b3,
					   bool P_b4):ver(P_v),
								  niz(P_n),
								  bok1(P_b1),
								  bok2(P_b2),
								  bok3(P_b3),
								  bok4(P_b4)
{
}

void CDirection::set_data(bool P_v,
						  bool P_n,
						  bool P_b1,
						  bool P_b2,
						  bool P_b3,
						  bool P_b4)
{
	ver=P_v;
	niz=P_n;
	bok1=P_b1;
	bok2=P_b2;
	bok3=P_b3;
	bok4=P_b4;
}